{# Héritage du layout princaple appliqué aux pages de gestion des articles #}
{% extends "BlissIncidentBundle:TypeIncident:layout.html.twig" %}

{% block title %}
     Ajouter - {{parent()}}
{% endblock %}

{% block file_ariane %}
    {{ parent() }}
    <div class="breadcrumb_divider"></div><a class="current"><a href="{{ path('typeincident_edit', { 'id': entity.id }) }}">Modifier : {{ entity.libelle }}</a>
{% endblock %}

{% block body %}
        <form action="{{ path('typeincident_update', {'id' : entity.id }) }}" method="post" {{ form_enctype(edit_form) }}>
            <section id="main" class="column">

                <article class="module width_3_quarter">
                    <header><h3 class="tabs_involved">Modifier : {{ entity }}</h3>
                    </header>
                    <div class="form-bo">
                        {{ form_widget(edit_form) }}
                                <p class="button-form">
                                    <a class="btn btn-primary btn-list" href="{{ path('typeincident') }}"><i class="icon-white icon-list-ul"></i> Retour</a>
                                    <button class="btn btn-primary btn-add" ><i class="icon-white icon-edit"></i> Modifier</button>
                                </p>
                            </div>
                        </article>
                    </section>
                </form>
{% endblock %}